using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using SpoonCore.Message.Info;
using SpoonCore.Message.Info.Core;

namespace SpoonCore.Message
{
	public class InfoMessage : IMessage
	{
		private MessageInfo _info = new MessageInfo();

		public InfoMessage()
		{
		}

		public InfoMessage(AbstractMessageInfo info)
		{
			_info.Infos.Add(info);
		}

		#region IMessage Members

		public int MsgId
		{
			get { return 5; }
		}

		public byte[] GetBytes()
		{
			return new byte[] {};
		}

		public void SetBytes(SpoonClient client, BinaryReader br)
		{
		}

		public IMessage Clone()
		{
			return new InfoMessage();
		}

		public MessageInfo Info
		{
			get { return _info; }
			set { _info = value; }
		}

		#endregion
	}
}